package org.example;

/**
 * $DESCRIPTION
 *
 * @author 28189
 * @since 2024/11/30 13:47
 * @version 1.0
 */
public class Shopping {
    private String name;
    private double price;
    private String brand;
    private int num;

    public Shopping(String name, double price,String brand) {
        this.name = name;
        this.price = price;
        this.brand = brand;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }
}